package com.fooddiary.util;

/**
 * Class with public static constants for application <br>
 * @author Created by andrey.kuznetsov <br>
 * @author Last modified by $Author$ <br>
 * @author Last modified on $Date$ at revision $Revision$ <br>
 */
public class AppConstants {
	
	public static final Integer FAKE_ID = -1;
	
	/*enable and disable states*/
	public static final Short ENTITY_STATE_ENABLED = 1;
	public static final Short ENTITY_STATE_DISABLED = 0;
	
	public static final Integer REGISTRATION_FIELD_MIN_LENGTH = 5;
	public static final String ROLE_USER = "ROLE_USER";
	public static final String DATE_FORMAT = "d-m-Y";	
	public static final Short PAGE_RECORD_COUNT = 30;	
	public static final String SYMBOL_DEFIS = "-"; 
	
	public static final Double MAX_WEIGHT = 500.00d;
	public static final Integer FOOD_DESCRIPTION_LENGTH = 100;
	public static final Long MILLISECONDS_IN_DAY = 24*60*60*1000L;
	public static final String DEFAULT_EATING_TIME = "00:00";
	
	public static final String WEIGHT_FORM_SESSION_KEY = "weight_form_session_key";
}
